﻿using EasyXaf.LowCode.WorkflowEditors.Models.Activities;

namespace EasyXaf.LowCode.WorkflowEditors.Models;

public interface ISequence : IFlowObject
{
    IContainer Container { get; }

    IWorkflow Workflow { get; }

    ObjectCollection<IActivity> Activities { get; }

    ISequence FindSequence(string sequenceId);

    IActivity FindActivity(string activityId);

    INode FindNode(string nodeId);
}
